home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
PickMeUp.sit
/
Pick Me Up
/
source code
/
Movie app source
/
pickmeUp97
/
source
/
CDefaultButtonWindow.cp
next >
Wrap
Text File
|
1997-06-20
|
1KB
|
53 lines
/*
* $Workfile: CDefaultButtonWindow.cp $
* $Modtime: 6/20/97 5:51 PM $
* $Revision: 2 $
* $Date: 6/20/97 5:51 PM $
* $History: CDefaultButtonWindow.cp $
*
* ***************** Version 2 *****************
* User: jwoo QDate: 6/20/97 Time: 5:51 PM
* Updated in $/ConMan/ConMan Interface Source/General Interface Classes/Generic
* June 20, 1997: No code change here. Just added the version control
* header.
*/
#include "CDefaultButtonWindow.h"
CDefaultButtonWindow::CDefaultButtonWindow(LStream* inStream) : LDialogBox(inStream)
{
}
CDefaultButtonWindow::~CDefaultButtonWindow()
{
}
void
CDefaultButtonWindow::SetDefaultButton(PaneIDT inButtonID)
{
mDefaultButtonID = inButtonID;
if (mDefaultOutline != nil) { // Remove former default outline
mDefaultOutline->Refresh();
delete mDefaultOutline;
mDefaultOutline = nil;
}
LControl *theButton = (LControl*) FindPaneByID(inButtonID);
if (theButton != nil) {
// Create new default outline
mDefaultOutline = new LDefaultOutline(theButton);
mDefaultOutline->Refresh();
}
}
void
CDefaultButtonWindow::SetCancelButton(PaneIDT inButtonID)
{
}